package com.leon.rose.modules.upms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 资源菜单
 * </p>
 *
 * @author Leon
 * @since 2019-05-05
 */
@Data
@ApiModel(value="SysResources对象", description="资源菜单")
public class SysResources implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String type;

    private String url;

    private String permission;

    private Long parentId;

    private Integer sort;

    @ApiModelProperty(value = "是否外部链接")
    private Boolean external;

    private Boolean available;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "添加时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;


}
